package com.inspur.edp.bef.bemanager.pushchangesetevent;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Bean;
import io.iec.edp.caf.commons.event.config.EventListenerSettings;

@Configuration
public class PushChangeSetConf {
    @Bean(name = "PushChangeSetEventBroker")
    public PushChangeSetEventBroker setEventBroker(EventListenerSettings settings, PushChangeSetEventManager eventManager) {
        return new PushChangeSetEventBroker(settings, eventManager);
    }
    @Bean(name = "PushChangeSetEventManager")
    public PushChangeSetEventManager setEventManager() {
        return new PushChangeSetEventManager();
    }
}
